package com.dflc.common;

/**
 * TODO lb <类名>
 *
 * @author tqx
 * @version 1.0.0.0
 * <p>Title: CommonConstant </p >
 * <p>Description: TODO tqx </p >
 * Package: com.dflc.common
 * Company: 数字涪陵
 * Copyright: Copyright(c) 产品研发与安全部
 * Date: 2023年06月06日 11:02
 */
public final class CommonConstant {

    private CommonConstant() {
        // 私有构造器防止实例化
    }

    public static final String SESSION_USER_KEY = "user-info";
    //是否删除常量值
    public static final class StateActive {
        /**
         * 已经删除
         */
        public static final Integer Deleted = 1;
        /**
         * 未删除
         */
        public static final Integer Active =0;

    }
    //后台系统的账号权限
    public static final class BackIsAdmin {
        /**
         * 超级管理员
         */
        public static final Integer Yes = 1;
        /**
         * 普通管理员
         */
        public static final Integer No =0;

    }
    //系统常量是否
    public static final class YeSNo {
        /**
         * 是
         */
        public static final  Integer Yes = 1;
        /**
         * 否
         */
        public static final  Integer No =0;

    }
    public static final class MenuType {
        /**
         * M目录
         */
        public static final String M = "M";
        /**
         * C菜单
         */
        public static final String C = "C";
        /**
         *   F按钮
         */
        public static final String F = "F";
    }
    public static final class MenuPermsType {
        /**
         * 移动端
         */
        public static final String APP = "1";
        /**
         * 管理端
         */
        public static final String PC = "2";
    }
    //角色和菜单的关系表的类型-全选和半选
    public static final class RoleMenuType {
        /**
         * 全选
         */
        public static final Integer All = 1;
        /**
         * 半选
         */
        public static final Integer Half =2;

    }
    //字典表里字典类型的parent 常量值
    public static final class Dictionary {
        /**
         * 字典类型的parent  分类值0
         */
        public static final String Parent = "0";
    }


    //全局日志类型
    public static final class LogType {
        /**
         * 请求
         */
        public static final Integer Req = 1;
        /**
         * 响应
         */
        public static final Integer Rep =2;

    }

    //单位类型
    public static final class unitType {
        /**
         * 单位
         */
        public static final String Unit = "1";
        /**
         * 科室
         */
        public static final String departmentId ="2";

    }



}